package leets.leet258;

public class Solution {
    public int addDigits(int num) {
       return (num-1)%9+1;
    }
}
